package com.chenyongjing.design.pattern.bridge;

public class Test {
    public static void main(String[] args) {
        //苹果笔记本
        Computer computer = new Laptop(new Apple());
        computer.info();
        //联想台式机
        Computer lenove =  new Desktop(new Lenove());
        lenove.info();
    }
}
